-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Set operation state to nil if new operation has been initiated by a direct object update (#20875) #20915
base: master
Are you sure you want to change the base?
Conversation
🔴 Preview Environment stopped on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
a1774d2
to
f815b02
Compare
According to @stephaneetje testing, this indeed fixes the issues with old sync information being shown and app out of sync. |
17f0e30
to
cfaa19e
Compare
…y a direct object update (argoproj#20875) Fixes argoproj#20875 Some systems like Kargo update the application operation directly to initiate a new sync, bypassing the server. However, they can't update the status operation state to become nil, resulting in discrepancy, see akuity/kargo#2985 and the discussion. Handle this case on the app controller side. Let's cherry-pick to v2.13. Signed-off-by: Andrii Korotkov <[email protected]>
cfaa19e
to
bb5db09
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #20915 +/- ##
==========================================
- Coverage 55.04% 54.98% -0.06%
==========================================
Files 324 324
Lines 55421 55480 +59
==========================================
+ Hits 30504 30505 +1
- Misses 22303 22347 +44
- Partials 2614 2628 +14 ☔ View full report in Codecov by Sentry. |
Is there any chance to get this PR merged for the next release ? |
Please prioritize releasing this patch. |
Fixes #20875
Some systems like Kargo update the application operation directly to initiate a new sync, bypassing the server. However, they can't update the status operation state to become nil, resulting in discrepancy, see akuity/kargo#2985 and the discussion. Handle this case on the app controller side.
Let's cherry-pick to v2.13.
Checklist: